package com.skyable.account.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GaoYuan
 * @title: BaseEntity
 * @projectName spring-cloud-oauth2-demo
 * @description: TODO
 * @date 2021/4/129:04
 */
@Data
public class BaseEntity {

    @ApiModelProperty(hidden = true)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(hidden = true)
    private String updateUser;

    @ApiModelProperty(hidden = true)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(hidden = true)
    private Date updateTime;

}
